<?php
/**
 * Created By PhpStorm.
 * User: Ren Jian Hong
 * Date: 2021-08-07 14:00
 * Fun:
 */

return [
    // 插件标识
    'name' => 'Mallsetting',

    /**
     * 后台管理路由接口配置
     */
    'admin' => [
        "namespace" => "Renjianhong\MallSetting\Http\Controllers\Admin",     // 路由命名空间
        "prefix" => "admin",        // 路由前缀
        "middleware" => [           // 中间件
            "web", "auth.admin:admin"
        ],
    ],

    /**
     * 接口管理路由接口配置
     */
    'api' => [
        "namespace" => "Renjianhong\MallSetting\Http\Controllers\Api",     // 路由命名空间
        "prefix" => "api",        // 路由前缀
        "middleware" => [         // 中间件 , "auth.admin:api"
            "cors"
        ],
    ],
];